<?php
session_start();
require '../nette/Nette/loader.php';
require '../db.php';
require '../localization/lang.php';
require '../core/core.sanitizer.php';
require '../core/core.security.php';
require '../core/core.time.php';
$login=new core_security;
if ($login->checklogin()=="OK") {
$date=new core_time;
$dates = explode("/", $_POST['date']);
$date->date=$dates[1].":".$dates[0].":".$dates[2];
if ($date->verify_date_format_wotime() == "") {
	$_SESSION['date']=$_POST['date'];
	$_SESSION['date2']=$date->date;
	}
}
?>